Skip to content

Instantly share code, notes, and snippets.

@realies
realies / hdtunepro-trial-reset.cmd
Created August 13, 2024 14:53
hd tune pro trial reset
@echo off
setlocal enabledelayedexpansion
set "regKey=HKEY_CURRENT_USER\Software\EFD Software\HDTunePro"
set "valueName1=Test Parameters 1"
set "valueName6=Test Parameters 6"
:: Read the value of "Test Parameters 1"
for /f "skip=2 tokens=4*" %%A in ('reg query "%regKey%" /v "%valueName1%"') do set "value1=%%B"
@GetVladimir
GetVladimir / Setup-iCloud+-Custom-Domain-Catch-All-email-with-Gmail.md
Last active October 16, 2026 12:01
How to setup iCloud+ Custom Domain Catch All email with Gmail

How to setup iCloud+ Custom Domain Catch All email with Gmail

I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.

The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.


The steps

  • Setup your Custom Domain (or subdomain) with iCloud+
@masak
masak / explanation.md
Last active October 16, 2026 11:58
How is git commit sha1 formed

(The below text is licensed with CC0, which means that if you want to use or translate it, that is OK by me.)

Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry. ☺

Locally, I'm at this commit:

$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <jnthn@jnthn.net>

Date: Sun Apr 15 16:35:03 2012 +0200

@CN-CODEGOD
CN-CODEGOD / command.md
Created October 9, 2026 03:38
docker change to proxy

在 Docker 中使用代理,通常分为三种场景:配置拉取镜像(Docker Daemon)、配置正在运行的容器(Container),以及配置构建镜像的过程(Docker Build)。 你可以根据你的具体需求选择以下对应的配置方法:

1. 配置 Docker Daemon(最常用:解决 docker pull 慢或超时)

如果你是在线拉取镜像(如 docker pull)时需要走代理,需要配置 Docker 宿主机上的守护进程。

  1. 创建或编辑配置文件(如果没有该目录请先手动创建):
  • Linux / Mac: /etc/systemd/system/docker.service.d/http-proxy.conf
    • Windows: 在 Docker Desktop 设置中的 Resources -> Proxies 界面直接填写。
  1. 在配置文件中添加以下内容(以 Linux 为例):
@svieira
svieira / article.md
Created October 12, 2026 17:58
'AI' is Not a Tool by Rich Hickey

All text that follows is from Rich Hickey via https://www.linkedin.com/pulse/ai-tool-rich-hickey-kjl8e

'AI' is Not a Tool

by Rich Hickey Published Oct 12, 2026

(I keep delivering this as a quip, here's a bit more)

First order of business - is 'tool' going to have an interesting, distinguishing and thus illuminative meaning or be a mere platitudinous stand-in for "anything useful"?

@JT5D
JT5D / controllable_Webcams.csv
Created January 3, 2014 19:52
controllable Webcams list
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 22 columns, instead of 8 in line 3.
created_utc,score,domain,id,title,author,ups,downs,num_comments,permalink,selftext,link_flair_text,over_18,thumbnail,subreddit_id,edited,link_flair_css_class,author_flair_css_class,is_self,name,url,distinguished
1315403643.0,462,cracked.com,k7kzm,Writer of Cracked.com mentions this subreddit in their article,penguinsmut,493,31,47,http://www.reddit.com/r/controllablewebcams/comments/k7kzm/writer_of_crackedcom_mentions_this_subreddit_in/,,,False,http://thumbs.reddit.com/t3_k7kzm.png,t5_2qt74,False,,,False,t3_k7kzm,http://www.cracked.com/article_19412_8-things-you-wont-believe-can-be-hacked.html,
1339618071.0,159,209.121.28.211,v0dh3,Now we just wait for kinky elevator sex.,Brudus,173,14,97,http://www.reddit.com/r/controllablewebcams/comments/v0dh3/now_we_just_wait_for_kinky_elevator_sex/,,,False,default,t5_2qt74,False,,,False,t3_v0dh3,http://209.121.28.211/anony/mjpg.cgi,
1349006496.0,148,cryptogasm.com,10phl7,"I created a basic web viewer for a load of webcams I discovered (1,392 and counting).",Rsaesha,163,1
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active October 16, 2026 11:47
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
@bitnik
bitnik / cihan.py
Last active October 16, 2026 11:32
Scan pdfs and rename them according to data in barcodes they contain.
import tempfile
import glob
import argparse
# import xlrd
import pandas
from os.path import join, basename
from shutil import copyfile
from pdf2image import convert_from_path # , convert_from_bytes
from pyzbar.pyzbar import decode
# from PIL import Image
@evieluvsrainbows
evieluvsrainbows / chrome-about.md
Last active October 16, 2026 11:32
Up-to-date list of all available internal Chromium-based browser pages.

Overview of all chrome:// pages.

This list may be out of date, for completely up-to-date information please refer to your browser's dedicated internal URL listing.

This list contains internal URL listings for Google Chrome and Microsoft Edge, the current most popular browsers based on the Chromium browser project. The Chrome URLs are current as of Chrome 139 Canary, whilist the Microsoft Edge URLs are still out of date.

List of Chrome URLs

chrome://access-code-cast
chrome://accessibility
chrome://app-service-internals
@AminulBD
AminulBD / bootstrap.sh
Last active October 16, 2026 11:30
Ubuntu Server LEMP Setup script
#!/bin/bash
DEBIAN_FRONTEND="noninteractive"
# Default values for parameters
DEFAULT_PHP_VERSION=8.4
DEFAULT_NODE_VERSION=24
DEFAULT_DOMAIN="example.test"
DEFAULT_USER="example"
DEFAULT_MYSQL_PASSWORD=$(openssl rand -base64 10)